package com.books.mapper.common;

import com.books.model.entity.backcontroller.Status;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Author 饿熊的咆哮
 * @Date 2021/10/2 19:14
 * @Version 1.0
 */
@Mapper
public interface StatusMapper {
    @Select("select * from status where status_id=#{statusId}")
    Status findStatusId(Integer statusId);

    @Select("select * from status where status=#{status}")
    Status findByStatus(String status);
}
